StudentContactPreference

EntityType | Independent
Logical Entity Name | StudentContactPreference
Default Table Name | CmPreferredContactMethod
Logical Only | NO
Owner | dbo
Definition |
Note |

StudentContactPreference Attributes

Attribute/Logical Rolename | Domain | Datatype | NULL | Definition
Id |  | INTEGER | NO |
StudentId |  | INTEGER | NO |
StudentRelationshipAddressId |  | INTEGER | YES |
TableName |  | VARCHAR(35) | NO |
ColumnName |  | VARCHAR(35) | NO |
IsPreferred |  | BIT | NO |
IsDoNotContact |  | BIT | NO |
LastModifiedUserId |  | INTEGER | NO |
CreatedDateTime |  | DATETIME | NO |
LastModifiedDateTime |  | DATETIME | NO |
RowVersion |  | TIMESTAMP/DATE | NO |
IsDoNotContactOverrideOnFile |  | BIT | NO |
IsPhoneNumber |  | BIT | NO |
StudentId |  | INTEGER | YES |

StudentContactPreference Keys

Key Name | Key Type | Keys
CmPreferredContactMethod_SyAddressID_N_N_IDX | Inversion Entry | StudentRelationshipAddressId
CmPreferredContactMethod_UserID_N_N_IDX | Inversion Entry | LastModifiedUserId
CmPreferredContactMethod_SyStudentID_N_N_IDX | Inversion Entry | StudentId
CmPreferredContactMethod_CmPreferredContactMethodID_U_C_IDX | PrimaryKey | Id

StudentContactPreference Relationships

Parent Relationships:

Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype
StudentRelationshipAddress | Non-Identifying | Zero or One to Zero or More |  |  |  | StudentRelationshipAddressId | NO
Student | Non-Identifying | One To Zero or More |  |  |  | StudentId | NO
Staff | Non-Identifying | One To Zero or More |  |  |  | LastModifiedUserId | NO
Student | Non-Identifying | Zero or One to Zero or More |  |  |  | StudentId | NO
StudentRelationshipAddress | Non-Identifying | Zero or One to Zero or More |  |  |  | StudentRelationshipAddressId | NO

Child Relationships:

Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype

StudentContactPreference Check Constraints

Check Constraint Name | CheckConstraint
Chk_CmPreferredContactMethod_SyAddressID | ([TableName] = 'SyAddress' and [SyAddressID] is not null or [TableName] = 'SyStudent' and [SyAddressID] is null)
Chk_CmPreferredContactMethod_ColumnName | ([TableName] = 'SyStudent' and ([ColumnName] = 'otheremail' or ([ColumnName] = 'otherphone' or ([ColumnName] = 'email' or ([ColumnName] = 'workext' or ([ColumnName] = 'WorkPhone' or ([ColumnName] = 'Phone' or [ColumnName] = 'Addr1')))))) or [TableName] = 'SyAddress' and ([ColumnName] = 'email' or ([ColumnName] = 'SecondPhone' or ([ColumnName] = 'WorkPhone' or ([ColumnName] = 'Phone' or [ColumnName] = 'Addr1')))))

StudentContactPreference Where Used - Model Usage

Mapped Object | Is User Defined? | Denormalization Mappings | Description | Bound Attachments
Logical dbo.StudentContactPreference | NO |  |  |
Physical (Microsoft SQL Server) dbo.CmPreferredContactMethod | NO |  |  |

StudentContactPreference Where Used - Submodel Usage

Model | Submodel Usage
Logical | Main Model
Logical | Addresses_Affiliations
Physical (Microsoft SQL Server) | Main Model
Physical (Microsoft SQL Server) | Career Services

StudentContactPreference Data Movement Rules

Name | Type | Rule Text/Value